﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using PortalMainService.Dominio;

namespace WcfConsulta
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IConsultas" in both code and config file together.
    [ServiceContract]
    public interface IConsultas
    {
        [OperationContract]
        void DoWork();

        [OperationContract]
        string EnviarConsulta(Consultamail consulta);

        [OperationContract]
        string QueueMessage(EmailMessage message);

        [OperationContract]
        string SendMessage(EmailMessage message, string username, string password, bool enableSsl);
    }
 

}
